<!DOCTYPE html>
<!-- saved from url=(0052)http://getbootstrap.com/docs/4.0/examples/dashboard/ -->
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>

    <title>设置权限</title>
    <!-- Bootstrap core CSS -->
    <link href="../static/asserts/css/bootstrap.min.css" th:href="@{/asserts/css/bootstrap.min.css}" rel="stylesheet">
    <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.js"></script>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.css" rel="stylesheet">
    <link href="../static/asserts/css/dashboard.css" th:href="@{/asserts/css/dashboard.css}" rel="stylesheet">
    <style type="text/css">
        /* Chart.js */

        @-webkit-keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        @keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        .chartjs-render-monitor {
            -webkit-animation: chartjs-render-animation 0.001s;
            animation: chartjs-render-animation 0.001s;
        }
    </style>
</head>

<body>
<div th:replace="sidbar::#topbar"></div>

<div class="container-fluid">
    <div class="row">
        <div th:replace="sidbar::#sbar(activeUri='main.html')"></div>

        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <div class="chartjs-size-monitor"
                 style="position: absolute; left: 0px; top: 0px; right: 0px; bottom: 0px; overflow: hidden; pointer-events: none; visibility: hidden; z-index: -1;">
                <div class="chartjs-size-monitor-expand"
                     style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;">
                    <div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div>
                </div>
                <div class="chartjs-size-monitor-shrink"
                     style="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;">
                    <div style="position:absolute;width:200%;height:200%;left:0; top:0"></div>
                </div>
            </div>

            <div class="panel panel-success" style="text-align: center;margin: auto;width: 600px;font-size:medium">

                <div class="panel-heading">
                    <h2 class="panel-body" th:text="${teacher.getName()}+'的个人信息:'"></h2>
                </div>

                <div class="panel-body" th:text="${'帐号:'+teacher.getZh()}">
                </div>
                <div class="panel-heading">
                    <h3 class="panel-title">名字:[[${teacher.getName()}]] </h3>
                </div>
                <form th:action="@{/setPerms}" method="post">
                    <input type="text" name="id" th:value="${teacher.getId()}" hidden/>
                    <input type="text" name="name" th:value="${teacher.getName()}" hidden/>
                    <input type="text" name="zh" th:value="${teacher.getZh()}" hidden/>
                    <input type="text" name="sex" th:value="${teacher.getSex()}" hidden/>
                    <input type="text" name="age" th:value="${teacher.getAge()}" hidden/>
                    <input type="text" name="sex" th:value="${teacher.getSex()}" hidden/>
                    <input type="text" name="loginTime" th:value="${teacher.getLoginTime()}" hidden/>
                    <input type="text" name="registTime" th:value="${teacher.getRegistTime()}" hidden/>
                    <input type="text" name="pwd" th:value="${teacher.getPwd()}" hidden/>
                    <input type="radio" th:text="游客" value="yk" name="perms" th:checked="${teacher.getPerms()=='yk'}">
                    <input type="radio" th:text="管理员" value="root" name="perms" th:checked="${teacher.getPerms()=='root'}">
                    <input type="radio" th:text="教师" value="teacher" name="perms" th:checked="${teacher.getPerms()=='teacher'}">
                    <input type="submit" th:value="设置">
                </form>
                <div class="panel-heading">
                    <a th:href="@{/selCoAll}">返回教师信息</a>
                </div>
            </div>


        </main>
    </div>
</div>


</body>

</html>